require 'open-uri'

open('http://www.ericsowell.com/') do |content|
  
  puts 'running'

  i = 1

  content.each do |line|
    i += 1

	if (line =~ /href(.*)/)
		puts "#{i}: #{line}"
	end

    
  end
end
